package com.jsu.clubmanagementsystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jsu.clubmanagementsystem.model.entity.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 24753
* @description 针对表【activity(社团活动)】的数据库操作Mapper
* @createDate 2025-05-17 21:31:07
* @Entity com.jsu.clubmanagementsystem.model.entity.Activity
*/
public interface ActivityMapper extends BaseMapper<Activity> {
    @Select("select * from activity ${ew.customSqlSegment}")
    List<Activity> getActivity(@Param("page") Page<Activity> page, @Param("ew") LambdaQueryWrapper lambdaQueryWrapper);

}




